package com.pig4cloud.pigx.wallet.open.api.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.pig4cloud.pigx.common.customize.utils.serializer.BigDecimalToPlainStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 */
@Data
public class OpenApiContractAccountDetailVOV1 implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 金额
	 */
	@ApiModelProperty("金额")
	@JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
	private BigDecimal amount;

	/**
	 * 币对名称
	 */
	@ApiModelProperty("币对名称")
	private String symbolName;

	/**
	 * 盈亏时间
	 */
	@ApiModelProperty(value = "盈亏时间")
	private Long time;

}
